package com.keensense.vcm.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author lanjian
 * @date 2020/5/8 8:41 上午
 */
@XmlRootElement(name = "request")
public class UpdateProfileLibrariesRequest {

    private UpdateProfileLibrariesRequest() {}

    public UpdateProfileLibrariesRequest(String id) {
        this.id = id;
    }

    /**
     * 档案库的id
     */
    @XmlTransient
    private String id;

    /**
     * 档案库的名字，可用中文、英文字母、数字和空格，并且空格不能在字段的首尾，长度[1,255]
     */
    @XmlElement
    private String name;

    /**
     * 描述，1-255字符
     */
    @XmlElement
    private String description;

    /**
     * 用户自定义，1-255字符
     */
    @XmlElement
    private String tag;

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @XmlTransient
    public String getId() {
        return id;
    }

    @XmlTransient
    public String getName() {
        return name;
    }

    @XmlTransient
    public String getDescription() {
        return description;
    }

    @XmlTransient
    public String getTag() {
        return tag;
    }
}
